package com.bjtu.literatureclient.service.category;

import com.bjtu.literatureclient.domain.base.BaseModel;
import com.bjtu.literatureclient.domain.category.SubsetIndexNo;
import com.bjtu.literatureclient.domain.user.UserIndexNoTable;

import java.util.List;

/**
*@author LMR
*@data 2018年1月30日下午8:38:39
*/
public interface ICategorySrevice {
	List<SubsetIndexNo> queryCategory(String userNo);
	List<SubsetIndexNo> queryMajor(BaseModel model);

	String queryNewSubsetNo(String userNo);

	int addNewCategory(String userNo, String subsetNo, String subsetTitle);

	List<UserIndexNoTable>  queryBySet(String userNo, String subsetNo);

	boolean deleteCategory(String userNo, String subsetNo);

	List<UserIndexNoTable> queryAllreference(String userNo);

	boolean addPapersToGroup(List<SubsetIndexNo> subsets);

	boolean deletePaperFromGroup(String userNo, String indexNo, String subsetNo);
}
